package com.w.wx.service;


import com.w.wx.domain.CommentsInfo;
import com.w.wx.domain.Notice;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.ArrayList;

public interface ImagesService {
     int setImageInfo(HttpServletRequest request, MultipartFile file, String openid,Integer flag)throws IOException;

    ArrayList<String> getImagesByGid(@Param("gid") Integer gid);

    ArrayList<Notice> getAllNoticeInfo();

    int deleteNotice(Integer mid);

    int updateNotice(@Param("mid") Integer mid, @Param("notice_info") String notice_info);


    void addGooddNotice(CommentsInfo maincomment_info);

    void addLikedNotice(Integer objId, String openid, String type);
}
